import { observable, computed, action } from 'mobx';

class Config {
    @observable dataMap = observable.map();
    @action set(key, value) {
        return this.dataMap.set(key, value);
    }
    @action get(key) {
        return this.dataMap.get(key);
    }
}

export default new Config;